.app-visual-switch {
  width: 100%;
  cursor: pointer;
  .visual-switch {
    display: inline-flex;
    align-items: center;
    position: relative;
    font-size: 14px;
    line-height: 20px;
    height: 20px;
    margin-left: 8px;
    vertical-align: middle;
    .visual-switch__core {
      display: inline-block;
      position: relative;
      width: 40px;
      height: 20px;
      border: 1px solid #dcdfe6;
      outline: 0;
      cursor: pointer;
      border-radius: 10px;
      box-sizing: border-box;
      background: #dcdfe6;
      transition: border-color 0.3s, background-color 0.3s;
      vertical-align: middle;
      &::after {
        content: "";
        position: absolute;
        top: 1px;
        left: 1px;
        border-radius: 100%;
        transition: all 0.3s;
        width: 16px;
        height: 16px;
        background-color: #fff;
      }
    }
    &.is-checked {
      .visual-switch__core {
        border-color: #409eff;
        background-color: #409eff;
        &::after {
          left: 100%;
          margin-left: -17px;
        }
      }
    }
  }
}
